package com.taxshare.operation.view.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: ResourceVO
 * @Description:
 * @author: luozhongyi
 * @date: 2021/1/28 15:25
 */
@Data
@ApiModel(description = "菜单资源的节点构造")
public class ResourceVO {
    @ApiModelProperty(value = "资源主键")
    private String resourceId;

    @ApiModelProperty(value = "资源编码")
    private String resourceCode;

    @ApiModelProperty(value = "资源名称")
    private String resourceName;

    @ApiModelProperty(value = "资源类型")
    private String resourceType;

    @ApiModelProperty(value = "资源地址")
    private String resourceUrl;

    @ApiModelProperty(value = "资源图标")
    private String resourceIcon;

    @ApiModelProperty(value = "资源归属,父节点")
    private String resourceParentId;

    @ApiModelProperty(value = "资源描述")
    private String resourceDesc;

    @ApiModelProperty(value = "子节点")
    private List<ResourceVO> children = new ArrayList<>();
}
